package com.jvm123.postgres.repo

import com.jvm123.postgres.entity.Student
import org.springframework.data.jpa.repository.JpaRepository

/**
 *
 * @author yawn
 *     2019/9/16 16:10
 */
interface StudentRepo extends JpaRepository<Student, Long> {

    Student save(Student person)

    List<Student> findAll()
}
